import App from 'next/app'
import 'normalize.css/normalize.css'
import 'antd/dist/antd.css'
import '../public/styles/common/common.css'

import NProgress from 'nprogress/nprogress'
import 'nprogress/nprogress.css'
import Router from 'next/router'

Router.onRouteChangeStart = url => {
  NProgress.start()
}
Router.onRouteChangeComplete = url => {
  NProgress.done()
}

export default App

